package com.tgu.home_action.service;

import com.tgu.home_action.pojo.Admin;
import com.tgu.home_action.pojo.Memo;
import com.tgu.home_action.pojo.ResponseData;
import com.tgu.home_action.pojo.Volunteer;

import java.util.List;

public interface MemoService {
    /**
     * 志愿者添加备忘录
     */
    ResponseData<Object> volunteerAddMemo(Memo memo, Volunteer volunteer);

    /**
     * 管理员添加备忘录
     */
    ResponseData<Object> adminAddMemo(Memo memo, Admin admin);

    /**
     * 查询备忘录
     */
    ResponseData<List<Memo>> getMemo(Memo memo);

    /**
     * 志愿者修改备忘录
     */
    ResponseData<Object> volunteerUpdateMemo(Memo memo, Volunteer volunteer);

    /**
     * 管理员修改备忘录
     */
    ResponseData<Object> adminUpdateMemo(Memo memo);

    /**
     * 志愿者删除备忘录
     */
    ResponseData<Object> volunteerDeleteMemo(Integer id, Volunteer volunteer);

    /**
     * 管理员删除备忘录
     */
    ResponseData<Object> adminDeleteMemo(Integer id);
}
